<template>
  <div class="header">
    <h1>城市选择</h1>
    <router-link to="/">
      <span class="iconfont header-icon">&#xe624;</span>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/variable.styl'
  .header
    height: .7rem
    line-height: .7rem
    background: $bgColor
    color: #fff
    font-size: .32rem
    text-align: center
    position: relative
    .header-icon
      width: .8rem
      position: absolute
      left: 0
      top: -.05rem
      font-weight: bold
      font-size: .34rem
      color: #fff
</style>
